﻿using UnityEngine;
using System.Collections;

public class interactButton : MonoBehaviour {
	
	bool display = false;
	
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
		if(display)
			renderer.enabled = true;
		else
			renderer.enabled = false;
		
		display = false;
	}
	
	public void canDisplay()
	{
		if(!display)
			display = true;
	}
}
